
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                xmlns:f="http://java.sun.com/jsf/core">
    <h:form id="lgForm">
        <h:panelGrid columns="2">
            <h:outputText value="User Name : "/>
            <h:inputText value="#{loginForm.username}" id="username" label="User Name"/>
               
 
            
            <h:outputText value="Password"/>
            <h:inputSecret value="#{loginForm.password}" id="password" label="Password"/>

            
            <h:outputText value=""/>
            <h:commandButton value="Login" action="#{loginForm.Login}"/>
            
            <h:outputText value=""/>
            <h:commandLink action="#{navigate.toRegis()}" value="Regis a new account ?"/>          
        </h:panelGrid>
    </h:form>    
</ui:composition>

